package com.neusoft.dibuy.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "student")
@Data
public class StudentProperties {
    /**
     * 姓名
     */
    private String name;
    //private String name="张乔";

    /**
     * 年龄
     */
    private Integer age;
    /**
     * 性别
     */
    private String sex;
}